package com.ruoyi.bussiness.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账号配置对象 ccy_account_cofig
 * 
 * @author wzy
 * @date 2025-10-25
 */
@Data
public class CcyAccountCofig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键Id */
    private Long id;

    /** 账号名简称 */
    @Excel(name = "账号名简称")
    private String accName;

    /** 账号编码 */
    @Excel(name = "账号编码")
    private String accCode;

    /** 欧意ApiKey */
    @Excel(name = "欧意ApiKey")
    private String apiKey;

    /** 欧意密码 */
    @Excel(name = "欧意密码")
    private String passWord;

    /** 欧意SecretKey */
    @Excel(name = "欧意SecretKey")
    private String secretKey;

    /** 数据维度 */
    @Excel(name = "数据维度")
    private String bar;

    /** 测试账号 */
    @Excel(name = "测试账号")
    private String testFlat;

    /** 账号所属用户(用于微信通知) */
    @Excel(name = "账号所属用户(用于微信通知)")
    private String userName;

    /** 账号是否有效 */
    @Excel(name = "账号是否有效")
    private Long status;

    /** 收益 */
    @Excel(name = "收益")
    private BigDecimal netGain;

    /** 本金 */
    @Excel(name = "本金")
    private BigDecimal capital;

    /** 实时余额 */
    @Excel(name = "实时余额")
    private BigDecimal balance;

    /** 止盈收益率 */
    @Excel(name = "止盈收益率")
    private BigDecimal zysyl;

    /** 止损收益率 */
    @Excel(name = "止损收益率")
    private BigDecimal zssyl;

    /** 监控阈值 */
    @Excel(name = "监控阈值")
    private BigDecimal monitorYz;

    /** 阈值百分比 */
    @Excel(name = "阈值百分比")
    private BigDecimal rate;

    /** 杠杆倍数 */
    @Excel(name = "杠杆倍数")
    private Long lever;

    /** 下单数量 */
    @Excel(name = "下单数量")
    private Long tradeNum;

    /** 平仓通知 */
    @Excel(name = "平仓通知")
    private String closeNotify;

    /** 委托单成交通知 */
    @Excel(name = "委托单成交通知")
    private String dealNotify;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private String addTime;

}
